Expand description
The core types and traits that power Rerun’s data model.
The Archetype
trait is the core of this crate and is a good starting point to get familiar
with the code.
An archetype is a logical collection of batches of Component
s that play well with each other.
Rerun (and the underlying Arrow data framework) is designed to work with large arrays of
Component
s, as opposed to single instances.
When multiple instances of a Component
are put together in an array, they yield a
ComponentBatch
: the atomic unit of (de)serialization.
Internally, Component
s are implemented using many different Loggable
s.
§Feature flags
serde
— Enable (de)serialization using serde.
Modules§
- Fundamental
Archetype
s that are implemented inre_types_core
directly for convenience and dependency optimization. - Fundamental
Component
s that are implemented inre_types_core
directly for convenience and dependency optimization. - Fundamental datatypes that are implemented in
re_types_core
directly for convenience and dependency optimization. - Run-time reflection for reading meta-data about components and archetypes.
Macros§
- Implements
crate::Component
for any given type that is a simple wrapper (newtype) around aTuid
. - Implements
From<Self>
andFrom<'a Self>
forCow<Self>
. - Useful macro for staticlly asserting that a
struct
contains some specific fields.
Structs§
- The fully-qualified name of an
Archetype
, e.g.rerun.archetypes.Points3D
. - Convenience-wrapper around an arrow
Buffer
that is known to contain a a primitive type. - Convenience-wrapper around an arrow
Buffer
that is known to contain a UTF-8 encoded string. - The fully-qualified name of a
Component
, e.g.rerun.components.Position2D
. - The fully-qualified name of a [
Datatype
], e.g.rerun.datatypes.Vec2D
. - A generic indicator component that can be specialized for any
Archetype
. - An arbitrary named indicator component.
- The unique name of a space view type.
Enums§
- Holds either an owned
ComponentBatch
that lives on heap, or a reference to one.
Constants§
- Number of decimals shown for all float display methods.
Traits§
- An archetype is a high-level construct that represents a set of
Component
s that usually play well with each other (i.e. they compose nicely). - Indicates that the archetype has reflection data available for it.
- Describes the interface for interpreting an object as a bundle of
Component
s. - A
ComponentBatch
represents an array’s worth ofComponent
instances. - A
Loggable
represents a single instance in an array of loggable data. - A
LoggableBatch
represents an array’s worth ofLoggable
instances, ready to be serialized. - Approximations of stack and heap size for both internal and external types.
- Views are the panels shown in the viewer’s viewport and the primary means of inspecting & visualizing previously logged data.